#ifndef _OOCONSOLELOGGER_H_
#define _OOCONSOLELOGGER_H_

#include "ooengine.h"

#define LogError(t)		ooConsoleLogger::GetSingleton()->logError(t)
#define LogWarnning(t)	ooConsoleLogger::GetSingleton()->logWarnning(t)
#define LogInfo(t)		ooConsoleLogger::GetSingleton()->logInfo(t)

//------------------------------------------------------------------------
class ooConsoleLogger
{
	DeclareSingleton(ooConsoleLogger)
public:
	ooConsoleLogger();
	~ooConsoleLogger();

	void	logError(const String& str) const;
	void	logWarnning(const String& str) const;
	void	logInfo(const String& str) const;
};

#endif